package com.lpwa.system.domain;


import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产表 sys_asset
 * 
 * @author tanmu
 * @date 2019-12-17
 */
public class Asset extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Long id;
	/** 资产ID */
	private String assetId;
	/** 资产名称 */
	private String assetName;
	/** 资产类型 */
	private String assetTypeId;
	/** 所属组织 */
	private Long deptId;
	/** 绑定状态（0未绑定，1已绑定） */
	private Integer isBind;
	/** 是否已删除（0未删除 1删除） */
	private Integer isDeleted;

	private String tagId;

	public String getTagId() {
		return tagId;
	}

	public void setTagId(String tagId) {
		this.tagId = tagId;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setAssetId(String assetId) 
	{
		this.assetId = assetId;
	}

	public String getAssetId() 
	{
		return assetId;
	}
	public void setAssetName(String assetName) 
	{
		this.assetName = assetName;
	}

	public String getAssetName() 
	{
		return assetName;
	}
	public void setAssetTypeId(String assetTypeId) 
	{
		this.assetTypeId = assetTypeId;
	}

	public String getAssetTypeId() 
	{
		return assetTypeId;
	}
	public void setDeptId(Long deptId) 
	{
		this.deptId = deptId;
	}

	public Long getDeptId() 
	{
		return deptId;
	}
	public void setIsBind(Integer isBind) 
	{
		this.isBind = isBind;
	}

	public Integer getIsBind() 
	{
		return isBind;
	}
	public void setIsDeleted(Integer isDeleted) 
	{
		this.isDeleted = isDeleted;
	}

	public Integer getIsDeleted() 
	{
		return isDeleted;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetId", getAssetId())
            .append("assetName", getAssetName())
            .append("assetTypeId", getAssetTypeId())
            .append("deptId", getDeptId())
            .append("isBind", getIsBind())
            .append("isDeleted", getIsDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
			.append("tagId", getRemark())
            .toString();
    }
}
